package com.qingcloud.adminbackend.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * API基础信息
 * </p>
 *
 * @author wangjinnan
 * @since 2021-05-10
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("sys_app_share")
public class AppShare implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Integer id;

    /**
     * 分享key
     */
    @ApiModelProperty(hidden = true)
    private String shareKey;

    @ApiModelProperty(value = "应用ID", example = "1")
    private Integer appId;

    @ApiModelProperty(value = "分组ID", example = "1")
    private String groupId;

    @ApiModelProperty(value = "角色ID", example = "1")
    private Integer roleId;

    /**
     * 创建时间
     */
    @ApiModelProperty(hidden = true)
    private Date createTime;

}
